//
//  NSString+Verify.h
//  XYZKitDemo
//
//  Created by 谢英泽 on 2016/11/20.
//  Copyright © 2016年 谢英泽. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Verify)

//是否是昵称格式
+ (BOOL)verifyNikeName:(NSString *)string;

//是否为纯汉字
+ (BOOL)verifyChineseCharacters:(NSString *)string;

//是否为纯数字
+ (BOOL)verifyNumber:(NSString *)string;

//是否为密码格式
+ (BOOL)verifyPassword:(NSString *)password;

//是否为银行卡格式
+ (BOOL)verifyBankCardNum:(NSString *)string;

//手机号码格式
+ (BOOL)verifyPhone:(NSString *)phone;

//是否纯数字和字母
+ (BOOL)verifyNumberAndLetter:(NSString *)string;

@end
